import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'dataVisual',
    component: () => import('../views/dataVisual.vue')
  },
  {
    path: '/oneMap',
    name: 'oneMap',
    component: () => import('../views/oneMap.vue'),
  },
  {
    path: '/oneMap/shutter',
    name: 'shutter',
    component: () => import('../views/moreScreen.vue'),
  }
]

const router = new VueRouter({
  routes,
  mode:'history'
})

export default router
